package ua.yandex.skipass;

import java.util.Calendar;

public class SeasonPassFactory implements PassFactory {
    private Calendar expirationDate;

    SeasonPassFactory(Calendar expirationDate) {
        this.expirationDate = expirationDate;
    }

    @Override
    public SkiPass generateSkiPass() {
        return new SeasonPass(expirationDate);
    }
}
